package com.xxw.springbootencrypt.bean;

import java.util.HashMap;
import java.util.Map;

public class Result {
    private Map<String, Object> data = new HashMap<>();

    //添加返回数据
    public Result add(String key, Object object) {
        this.getData().put(key, object);
        return this;
    }

    public Map<String, Object> getData() {
        return data;
    }
}
